package cn.befory.constants;

/**
 * 用户相关
 */
public class UserConstants {
    /**
     * 在线状态
     */
    public enum Online{
        OFFLINE,ONLINE
    }

    /**
     * 状态
     */
    public enum Status{
        DISABLED(-1)
        ,AUDIT(0)
        ,NORMAL(1)
        ;
        private int code;

        Status(int code) {
            this.code = code;
        }
    }

    public enum Type{
        SUPER(1)
        ,LEADER(2)
        ,SALE(3)
        ;

        private int code;

        Type(int code) {
            this.code = code;
        }
    }

    public static final String USER_ID = "userId";

}
